package com.aaa.ssm.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: Result
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result <T>{
    // 返回的状态码
    private Integer code;

    //返回提示信息
    private String message;

    //返回数据 T泛指任意类型
    private T data;
}
